package com.plian.system.entity.pm.property;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 合伙人登记-情况
 * @author: gangan
 * @create: 2020-07-08 15:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "BasePartnerSituation对象", description = "合伙人登记-情况")
public class BasePartnerSituation {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.UUID)
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 主表ID
     */
    @ApiModelProperty(value = "主表ID")
    private String propertyId;

    /**
     * 合伙人类别 编码078
     */
    @ApiModelProperty(value = "合伙人类别")
    private String category;

    /**
     * 统一信用编码
     */
    @ApiModelProperty(value = "统一信用编码")
    private String code;

    /**
     * 合伙人名称
     */
    @ApiModelProperty(value = "合伙人名称")
    private String name;

    /**
     * 实缴出资额
     */
    @ApiModelProperty(value = "实缴出资额")
    private String paidCapital;

    /**
     * 缴付期限
     */
    @ApiModelProperty(value = "缴付期限")
    private String paymentTerm;

    /**
     * 排序码
     */
    @ApiModelProperty(value = "排序码")
    private String sortCode;

    /**
     * 认缴出资额
     */
    @ApiModelProperty(value = "认缴出资额")
    private String subscribedCapital;

    /**
     * 认缴出资比例
     */
    @ApiModelProperty(value = "认缴出资比例")
    private String subscribedProportion;

    /**
     * 合伙人类型 编码 079
     */
    @ApiModelProperty(value = "合伙人类型")
    private String type;

    /**
     * 出资方式 编码 080
     */
    @ApiModelProperty(value = "出资方式")
    private String way;

    @TableField(exist = false)
    @ApiModelProperty(value = "产权来源id", required = true)
    private String propertyDataSourceId;
}
